package tornadoj.web;

import java.lang.reflect.Method;

/**
 * Api 函数包装
 * Created by tinyms on 14-2-1.
 */
public class ApiFunctionTarget {
    private boolean auth;
    private String cacheName;
    private String cacheKey;
    private boolean manualConvertToJson;
    private Method method;

    public boolean isAuth() {
        return auth;
    }

    public void setAuth(boolean auth) {
        this.auth = auth;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public String getCacheName() {
        return cacheName;
    }

    public void setCacheName(String cacheName) {
        this.cacheName = cacheName;
    }

    public String getCacheKey() {
        return cacheKey;
    }

    public void setCacheKey(String cacheKey) {
        this.cacheKey = cacheKey;
    }

    public boolean isManualConvertToJson() {
        return manualConvertToJson;
    }

    public void setManualConvertToJson(boolean manualConvertToJson) {
        this.manualConvertToJson = manualConvertToJson;
    }
}
